package com.itheima.common;

public class ReggieContext {
    private static ThreadLocal<Long> threadLocal = new ThreadLocal<>();

    public static Long get(){
        return  threadLocal.get();
    }

    public static void set(Long id){
         threadLocal.set(id);
    }

    public static void remove(){
        threadLocal.remove();
    }
}
